from app.XIZANGWebSever import noLoginMain
from flask import Blueprint, request, jsonify,current_app
bp = Blueprint('test', __name__)


# 西藏项目报名请求
@bp.route('/xi/signup', methods=['post'])
def signup():
    cookies = request.json
    current_app.executor.submit(noLoginMain, cookies)
    return jsonify({"status": "success"})
